import React from 'react';
import NotFound from '@/assets/public/404.png';
import { Link } from 'umi';

const NotFoundPage = () => (
  <div style={{ width: '100vw', height: '100vh' }}>
    <div style={{ marginTop: '30vw', textAlign: 'center' }}>
      <img src={NotFound} alt="没找到该页面" style={{ width: '100%' }} />
      <p style={{ color: '#999' }}>页面未找到...</p>
      <Link to="/">返回首页</Link>
    </div>
  </div>
);

export default NotFoundPage;
